$(document).ready(function () {
    $("#languageSelection .vi").click(function () {
        ChangeLanguage("vi");
    });

    $("#languageSelection .en").click(function () {
        ChangeLanguage("en");
    });
});

function ChangeLanguage(lang) {
    $.cookie('vtlul', lang, { expires: 365 });
    $("#currentLang").val(lang);
    $("form#frmLangSelection").submit();
}
